package com.atguigu.lease.common.utils;

public class VerifyCodeUtil {
    public static String getVerifyCode(int length) {
        StringBuilder verifyCode = new StringBuilder();
        for (int i = 0; i < length; i++) {
            verifyCode.append((int) (Math.random() * 10));
        }
        return verifyCode.toString();
    }
}
